package com.hp.snap.gr.model;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.ArrayList;
import java.util.List;

public class StatusInfos {

    private List<StatusInfo> StatusInfos = new ArrayList<StatusInfo>();


//    public List<StatusInfo> getDatabases() {
//        return Databases;
//    }
//
//    public void setDatabases(List<Databasis> Databases) {
//        this.Databases = Databases;
//    }


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }


    public List<StatusInfo> getStatusInfos() {
        return StatusInfos;
    }


    public void setStatusInfos(List<StatusInfo> statusInfos) {
        StatusInfos = statusInfos;
    }


    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public boolean equals(Object other) {
        return EqualsBuilder.reflectionEquals(this, other);
    }

}
